gene tagger part1: correct implementation