added key to data struct