fix mask + better example