the tail now grows, kind of! time to refactor a bit