added 'create' method to card model