1)when you use a COMMA -ING modifier after a clause**, you should actuallysatisfy TWO requirements:
-- the modifier should modifythe action of the preceding clause,as you have stated;
AND
-- the subject of the preceding clause should also makesense as the agentof the -ING action.