adding key class