execute the right thing