some more progress in membrane code development