Added queue class