add function of generic python header