created bike and refactored code