fires off activity in given intervals