tried to fix time.pl