accessing priority through context variable