refactor min/max weight functions in person class