Making method private

Ideally, this method should be private.