warrens geolocation code implemented