added start of buffer functions, for tracking input history