location fn is added