added timing signal and slot