Add Flower detected function