worked with json and javascript, still under construction.