Some samples of code. Some of this is super old!