Department of Veterans Affairs VistAWeb Technical Guide

The rule is that when you use a construction that starts with a participle, the first thing after the comma needs to be the subject of the participle. If not, you are breaking the laws of grammar, risking ridicule from various readers and, more importantly, risking being misunderstood. ................
................