added location controller