fixed empty cards
dietrichfied code
added fourth row