separated interface in server and interface