Return a pointer to queue after creation