Old queue implementation (archive)