added the second level and switching between levels