getwhere now more efficient