Added a getval function
Merge branch 'master' of https://github.com/krsrinath12/temp