injestion mapper and main