make ccn* local
make internal things static