breaking m/r into nested vars for readability