finish parsing class