interface snippet