Updated Queue to use the parent property