Finish the target unit api