mname should be the variable not string