add interface snippet