adding terminator