I had written this sentence while practicing on Lang-8, and someone corrected it to the second version below:
Mon but est d'écrire de deux à trois textes chaque semaine, avec l'intention d'améliorer ma capacité de construire des phrases.
#2
Mon but est d'écrire de deux à trois textes chaque semaine, avec pour intention d'améliorer ma capacité à construire des phrases.
I don't really understand either of these corrections. avec pour seems odd to me, having two prepositions side-by-side, and given my understanding of à vs de, I thought I was in the right to have used de. Can someone explain these two corrections?