added code and gammar fix