FIXME $socid is not defined (strict mode)