Code changing

The  code has been changed and also the code has been compiled  and
working fine