private python function test