a smatter of code samples