added resetAlpha