dropping in sample code for mappings and learners