Add check for opposite direction