updated data frame homework 2