made check to ensure timestamp is length 20