added 3 levels, added boost function