added helper method to policy class