privatize functions
...