Removed local 'loc' variable