check method call