updated ex1, cleaned unused files