Added level class. Input not working