First part, connection data
some changes for compiling