Merged suhas and bsharanya s code