Updated Hide code