use date passed in argument