Why do you place this method inside the main class ?
Since it's use case is not part of "standard operations" why don't you extract it to another class ?