needless logic. undefined !== string