method is made private