YOU SAID:
when i ran to the mall the bears attacked
INTO JAPANESE
私がモールに走ったとき、クマは攻撃しました
BACK INTO ENGLISH
The bear attacked when I ran to the mall
INTO JAPANESE
私がモールに走ったときにクマが攻撃した
BACK INTO ENGLISH
The bear attacked when I ran to the mall
That didn't even make that much sense in English.