also, this should probably change to `if (target === true)`