added support for stateless default policy function