Added field hiding code