add short name for build_classes; add exception checking