implemented bypass mode