working on some utils