second version of multilevel