moved more util functions to fracutils