added functionality to terminations #370