unit tested / migrated old finance stuff