build from mirja's text on tcp