Implementing string-array generation and bug fixing.