files for ex2 and some updates