adding joyride functionality