Hi, > Q1 = queue:new(). > queue:in("item1", Q1). > queue:in("item2", Q1). Use instead: Q1 = queue:new(). Q2 = queue:in("item1", Q1). Q3 = queue:in("item2", Q2). Since variables can't be assigned to, the functions return the new queue (with the appended value). Regards, Vlad