working on pastQueue