dividing levels from code