WIP: working out final results