updated method signature of add_policy