changed keyname to string