print key and die