rudimentary error-handling on timestamps