adding separate quality mask