added function to check nucleotide salvage pathway