Added missing location variable