two way for method attributes