fix warnings, add ride.java