Added a way to make the levels dynamic.