examples updated to use new Time package