added state values to cards