added dynaic classification during classes modification