added server-client support for interaction