Assignment 2 -R v2