add level into get_target_methods