added flipswitch and libPass