Refactoring create-method