i found an additional error after i submitted the assignment which is now
corrected - the problem had to do with the type of picture being uploaded.
hopefully the program is error free now.