Thackeray’s autobiographical elements