removed LOGIC_CALC and LOGIC_CARY procedures