edited Policy class