like a good c programmer, included stdlib for atexit.