fixed time.Now() to be end param.