added function for fixing bike
refactored bike class and spec