finished homework A