Working arrays and variable assignments