add finish operation