methos to controller