Now, both
verbs
are gerunds, so the sentence is
parallel
!