added assignment on array