added logging, upped HWM