modified detector