completed processing functionality