use a controller based var, doesn't work otherwise