call private methods the right way