improving utils