removed unneeded lookups, m is nil