why do I keep repeating the same patterns