Refactored a little bit, cards retrieving is OK