added comments and renamed some variables.
racing gamge.