changed remote call from server to client