map controller almost complete