trap proceedings