modify priorities. add post handler