Attempt at priority sequencing

Still not functioning