modifying controller