just random little code snippets, test programs to check functionality