newchanges tested json functionality