updated public-private section