various pieces of source code