function type added - bike and run