Added -mask1 and -mask2