Got calcing working