Finally a working Version (works only for ASM)