Added ability to set terminus