last fix for project 1: redo priority-fifo