Wrote pic_set_masks (does not appear to work)