reinstate utils (tested)