controller work in progress