check method name