adding first part of ex2