Using program slicing for software comprehension