Changed Connect class back to panel