Got priority and preemption mechanisms working