backend works for more than two locations