finished part 2 (again, forgot to upload first time)