flesh out level and state managers