class changes
added key item validation