simple level drawing
minor refactor