adds composite to index