Rename tail to queue