improved performance by creating a  on changes to array items