swapped code from level2 to level1