function for working with json added