change object class to implement time constraint