preparing location