saving dynamic priority scheduler