added hrtime for id generation