function def in ride class
function def in ride class