Adds terminate