adding hw5A and B