some snippet code in my work