changed grabbing to use both photoeyes