USE CLASSES INSTEAD OF IDS