write Person class