extend state masks