add spl_classes example