trying to incorporate rainyday.js