changed console text from video memory to variable