cleaned up detector view