Implemented transition between levels; established criteria to determine last level