sample code for modules