toggle display
refactor setup