Small samples of code