3.3. writing snippet extensions