added origin() to get location origins