first changes to locate closest guide