added atexit() method