take controller out of views