add method attributes