level unlocking functionality, first pass