samples of source code