level connectivity

new branch, hopefully merges well