add static to public functions