added decorators to work together with the methods of the instance