everything works except the switch buttons