YOU SAID:
when I walk by I say baa
INTO JAPANESE
私がそばを歩くと
BACK INTO ENGLISH
When I walk by
INTO JAPANESE
そばを歩くとき
BACK INTO ENGLISH
When walking near
INTO JAPANESE
近くを歩くとき
BACK INTO ENGLISH
When walking near
That didn't even make that much sense in English.