added second examples, refined the mappings interface