finished reformatting util code to match current code standards