added inteface to c/s