finished up processing part