added controls for hide/show and instruction