finish ex1 basic