sample code integration into documentation