add finish command