connection code ready