added reading from json and getting random values form it.