clarifying code snippet