added levels support