added new_win arg to HR and IM