get mode from client