common_logic