improving level handling
tsesting