removed mapper, added front preamble