add trick_code_capture