UPDATED HOMEWORK