Code sorting(separate drawLabels from drawIndicators' code)