working on string parser