sets up to show or hide as an option