Second home task (with threads)