trying to make rainloop work