checking in more code for lists and queues - shubham