queue starts as an empty array