removed extra mask definitions