added method to reorganise connection data to something logical