copied the exercises previously done