adding start and end dates