create mask, post and mask appearance