some edits to sockit 6