utils.php initial commit not yet tested