finish adding socket field to controller