/* Added by joshi for speed optimization */