pushed the create method to its own class