add timestamp parsing