decoder is now executing when json is loaded