refactored specs and finished rating and queue update feature