moved container functions outside of std find conditional