added location param