remove asm scanning. register with functional way