update level logic, now you can set instantce variables after init