latency simulation implemented
big fix id generation