remove the time function causing problem