removed location code