added rectangles for cards