implements a revoke function for #24