linked v5 branch

Closes #8