public Deck(Graphics g) {
				String cardName = "";

				for (int i = 0; i < suitArray.length; i++) {
					for (int j = 0; j < valueArray.length; j++) {
						Card card = new Card(valueArray[j],suitArray[i]);
						if (valueArray[j] == 1) {
		 				 	cardName = "A" + suitArray[i];
						} else if (valueArray[j] == 11) {
							cardName = "J" + suitArray[i];
						} else if (valueArray[j] == 12) {
							cardName = "Q" + suitArray[i];
						} else if(valueArray[j] == 13) {
							cardName = "K" + suitArray[i];
						} else {
							cardName = valueArray[j] + suitArray[i];
						}
						
						//too lazy to change the name from movie poster
						poster = new MoviePoster(cardName);

						if(x > 1000) {
							x = 0;
							y += 75;
						}

						

						Rectangle a = new Rectangle(x,y,50,75);
						
						poster.draw(g,a);

						x += 50;
						//what was I trying to do here I don't remember
						deck[count] = card;
						count++;
					}
				}
	}