queue using arrays has been added