add initial support for transparency