Corrected level transitioning and checked for exceptions - Arpit