Function rainMan