add getSuffix snippet