set context in each