changing switches to check box