sample code into one file