added key debug