Looks like I'll need to change the iterators
Nearly there...few more tweaks