working the end
extend end
seg4? done???