Made upload and fist code for viewing