not using find_resource, using find_smart_class_parameter instead, same for find_smart_variable