Trying to get dealCard to function, gives random error everytime i run it