add transparency parameter.