Added more precise timestamp to pain registration