Commented code ... added variable date