change return type from server