Add queue implementation