finished second task + cleanup