finished second exercise in objects