optical drop detection