work on simple example, cleanup and string r/w