Added level finish check