client is not defined