responded to jw's code review