updated the gitit and tested the code