Adding new type of rollback function