adding to controller