Code formatting on array