addes a show and hide section so the code wasn't always there