add encapsulation feature to "splited_data" variable by putting it inside newConnection class