working in part 2 interpStm()