import misc utilities