add calc format for supporting different calc expressions