working on template read/write