added revert to cards