uses the correct names for each classElement