import time before using