testing the procedure