miscellaneous scala sources