updated with connect