What is the version of the following sentence with correct punctuation?

In presenting the matter in this way Pannekoek approached the subject which interests us namely the tasks of the proletarian revolution in relation to the state
In presenting the matter in this way, Pannekoek approached the subject which interests us, namely, the tasks of the proletarian revolution in relation to the state.