Adding method to controller