add published calc routine