Shifting code around