A useful procedure