Began working on level transition functions