adding bg mask