ismca function added. not completed