moved initialization away from init into get method in queueData class