creates calc object