solution with decorators instead of subject class
