added lvl 4, fixed many bugs