added credit for MarkM and link to original membrane code