testing different algorithms for tagc