start implementing connection functions
upgrade plug