implementing priority display