changed coding style on dcc_get_completed (do while)