resize finally working fine
import time.h fixed