whoops, use name var instead of scope for ctx