add functions to get a single symbol from a stream at a given position