added mask of used variables