Make sure mappings gets passed in correctly