new files for ex6. not yet modified by me