P7 upload

used arrays for the first time and used some code from previous projects