Problem with pre-assignment fixed - was an issue  with subscripting