add IRConverter
add missing functionality for M1