put all the barbarian calculations in its own file