add FinishCommand class