opts isn't used... can it be removed?