remove code for labeled arrays