make functions internal vars in the namespace