rewrote monster code, press enter to switch mode