Fixing a bug: there is no property level, so it should have called currentLevel instead.