add support for alpha channels