working with json model now