removed extraneous methods from controller