updated both files