implement few methods to server