showing only public method