variable name 'sp was used twice - replaced one with 'taxon'