reading example works, writing still to come