refactoring WIP formviewcontroller