fixed param order for is_a invocation