moving level logic out of boot, but still called during boot (need to investigate later)