better maps code