Making outline in Scanner