Made some modifications to the level class to make the reader work again