move methods to model