add typeset -F SECONDS=0 for accuracy