Writing person class