Base changing program