changes to power calculation