refactored
week6 upload