slight change in enqueue