creating train ride on buttons process