add time to start of output
add exception for unicode error