Used COdy's functions for the askForCardMethod