just done array assignment