Better array management