started using _.isUndefined