bug fix: []= requires two formal arguments