Representation and manpulation of external sequences