readts_EE 1:length changed to 1:nrow