refactor draw card