add cases for multiple types coming from masks