remove integer restriction of levels, ensure levels != values