add method decorator