respect previous programming style.
is now a queue