moved reverse call from controller to model