minor change in enqueue