Process priority

WIP