made the param method private