assiging locations