code for the workshop