Added Json data function, not working though.