setting up mapping init