fleshed out the data client
renamed variable