some map stuff done