parser stops if no class is found