write ports for listening (not correct yet)