merge root. Closes #272