add support for multiple quality