renamed R to locations