builder, match and person class working