adding and editing view controllers