added json calls
added json calls