add demo and socket is an object so default is null