changed modify into PutIfAbsent
example for different ip