fixed public/private ordering mistake