cleaned up ASM