implement sine rainfall