updated util files with timer()