added observable/observer nature to detector