improved A
worked on repeats
worked on repeat NN