moves code around