added levels and editor