make output of timestamp optional