Decreased code in paint function