Adding the initial Priority list function