add line number and character position