flesh out the util file a bit