completed the second part