assign vars accessible in dynamic