textual changes; add timeval routines (should be in system library)