refactor adding rides