add ability to define definition of priority