got first detector working