missing import statement for time functions
more testing for "basic four" functions

plus, I exposed a weird bug!