change logRide() declaration
fix spacing