some debug code verify argument passing