edite date
added new column and edited code to respect that column