rect crossing with motor