working on reading from json