added codeval swap case