modified from master kiran
modified file in rev1 in sukumar