timer added to main runloop