added location to the ls function