adding the bility to add masks