added easy level definer, refactored code