added concept of start and end date