pretty dates
error handling