move codes around