tweaked the client