initial, non working versions, pulled from various projects