made a model file for all actions