added option to define start date