took out eval and replaced with json parse