fixed foundation linking and added 7 card draw function