Removed params[:card] usage