format person class