makes getContents match setContents