add random time generator