added ability to set a custom date. a bit ugly though....