Added masks needed by some code