run calculations work in progress