pulled more out of main.asm