added createLevel call