smooth dependence by lag