Fixed example for synchronous write/lookup