updating chartographer and updating example to demonstrate getComponents()