Updated example with ids