unprivatize a func