added Timing functions: getSecs, waitSecs