added age for priority npr algorithm