method for determine place  with test