stubbed code to client/server parts