applying policies