added variable for ready queue