Well, the "mon" is the name of a variable, so it's not important if you call it mon, monitor, or whatever you like. Important is the side you have attached the monitor. I often put my monitor on top, with this you can try:
local mon=peripherial.wrap("top") -- defines the peripheral in a local...