updated structure, added examples