updated with new array table