added mlfqs if statement checks