Cleaned up code and got rating select almost done