The spin gap and extended t-J model