use default dates rather than requiring them to be passed in