Changed Connect class to take in a Timer