formatting && making the method private