put snap signal as a global