use code snippet