implement switching ball