removed socket stuff temp