add factors method, and create get :number action