added util fn