completed second assignment