hw5 extracted