decorators can now be called. added a getCost method to solve this