changes client to constant