ported calc7