basic routing and switching between bugs works