manually attaching terminal div