import time module, and remove extraneous print from debug