first real code review and i picked up some tricks