changed socket models