assorted code samples...