expanded on the date and added variables