fixed public/private typings