getting masks to work