Declare queue first