updated to new array synta