calcNullable finished