First try at detecting location