why import time here?
and 
why on the same line?