Added third mode - undefined.