partb finished but do not know if it works