added some missing parts and an example