updated example with date