do some util stuff