lab2: basic priority