switching the base