refactored specs and add #rating=