Updated example for getlist