added detectors to location model and drawing