Tweaked how far it reads into document