adding locate teammate code