started: reducing boiler plate code using decorator