change getClientData to getData()