how does the structure of the pencil relate to its function?