Number of levels is now w dynamic