At this stage he did not know of the published work on noneuclidean geometry but he clearly was working his way towards the idea

Please fix the punctuation.
At this stage he did not know of the published work on non-euclidean geometry but he clearly was working his way towards the idea.