updated dynamic variables syntax