Adding variable to contain dates