adding R for term exam part 1