typo fix and making method private