minor code review