abstracting form view