Revert to function