able to check if key is being generated