implement priority schedule