example code for work