added --date option