updated membrane example 4