removed onterminate method from _all_ not in use