implement ride rating calculation table and a few other things