added saving of function info (name, line number)