Small changes to loc