Added checkKey