Separated the writer and getter