changed rules for mirror and imgbilateral