made a generic Item class for the key