calculation interfaces and serialization