basic editing functions for new view