finished the first part