added the level count