add transparent/opaque control