can opts be deleted? It isn't used at all in the function.